package com.ruoyi.project.system.messageinfo.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 留言内容对象 message_info
 *
 * @author LCL
 * @date 2021-10-08
 */
public class MessageInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 留言人ID */
    @Excel(name = "留言人ID")
    private String memberId;

    /** 留言人类型：0-个人 1-企业 */
    @Excel(name = "留言人类型：0-个人 1-企业")
    private Integer memberType;

    /** 被留言人ID */
    @Excel(name = "被留言人ID")
    private String messageMemberId;

    /** 被留言人类型：0-个人 1-企业 */
    @Excel(name = "被留言人类型：0-个人 1-企业")
    private Integer messageMemberType;

    /** 留言组ID */
    @Excel(name = "留言组ID")
    private String teamsId;

    /** 相关ID */
    @Excel(name = "相关ID")
    private String resId;

    /** 留言类型：0-供应 1-求购 2-其他 */
    @Excel(name = "留言类型：0-供应 1-求购 2-其他")
    private Integer type;

    /** 内容 */
    @Excel(name = "内容")
    private String message;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 修改时间 */
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 是否已读：0-未读 1-已读 */
    @Excel(name = "是否已读：0-未读 1-已读")
    private Integer isRead;

    /** 删除标记：0-正常 1-删除 */
    private Integer delFlag;

    /** 留言人信息状态：0-正常 1-删除 */
    private Integer memberStatus;

    /** 被留言人信息状态：0-正常 1-删除 */
    private Integer messageMemberStatus;

    public Integer getMemberStatus() {
        return memberStatus;
    }

    public void setMemberStatus(Integer memberStatus) {
        this.memberStatus = memberStatus;
    }

    public Integer getMessageMemberStatus() {
        return messageMemberStatus;
    }

    public void setMessageMemberStatus(Integer messageMemberStatus) {
        this.messageMemberStatus = messageMemberStatus;
    }

    private String myHeadPic;

    private String heHeadPic;

    private Integer isMyspeak;

    /** 是否是企业：0-否 1-是 */
    private Integer isCompany;
    /** 企业或个人ID */
    private String memberCompanyId;

    public String getMemberCompanyId() {
        return memberCompanyId;
    }

    public void setMemberCompanyId(String memberCompanyId) {
        this.memberCompanyId = memberCompanyId;
    }

    public Integer getIsCompany() {
        return isCompany;
    }
    public void setIsCompany(Integer isCompany) {
        this.isCompany = isCompany;
    }

    public Integer getIsMyspeak() {
        return isMyspeak;
    }

    public void setIsMyspeak(Integer isMyspeak) {
        this.isMyspeak = isMyspeak;
    }

    public String getMyHeadPic() {
        return myHeadPic;
    }

    public void setMyHeadPic(String myHeadPic) {
        this.myHeadPic = myHeadPic;
    }

    public String getHeHeadPic() {
        return heHeadPic;
    }

    public void setHeHeadPic(String heHeadPic) {
        this.heHeadPic = heHeadPic;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setMemberId(String memberId)
    {
        this.memberId = memberId;
    }

    public String getMemberId()
    {
        return memberId;
    }
    public void setMemberType(Integer memberType)
    {
        this.memberType = memberType;
    }

    public Integer getMemberType()
    {
        return memberType;
    }
    public void setMessageMemberId(String messageMemberId)
    {
        this.messageMemberId = messageMemberId;
    }

    public String getMessageMemberId()
    {
        return messageMemberId;
    }
    public void setMessageMemberType(Integer messageMemberType)
    {
        this.messageMemberType = messageMemberType;
    }

    public Integer getMessageMemberType()
    {
        return messageMemberType;
    }
    public void setResId(String resId)
    {
        this.resId = resId;
    }

    public String getTeamsId() {
        return teamsId;
    }
    public void setTeamsId(String teamsId) {
        this.teamsId = teamsId;
    }

    public String getResId()
    {
        return resId;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setMessage(String message)
    {
        this.message = message;
    }

    public String getMessage()
    {
        return message;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }
    public void setIsRead(Integer isRead)
    {
        this.isRead = isRead;
    }

    public Integer getIsRead()
    {
        return isRead;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("memberType", getMemberType())
            .append("messageMemberId", getMessageMemberId())
            .append("messageMemberType", getMessageMemberType())
            .append("teamsId", getTeamsId())
            .append("resId", getResId())
            .append("type", getType())
            .append("message", getMessage())
            .append("createdTime", getCreatedTime())
            .append("updatedTime", getUpdatedTime())
            .append("isRead", getIsRead())
            .append("delFlag", getDelFlag())
            .append("memberStatus", getMemberStatus())
            .append("messageMemberStatus", getMessageMemberStatus())
            .toString();
    }
}
